#g-header {
	background: $header-background;
	color: $header-text-color;
    padding: $section-padding 0;
    position: relative;
    z-index: 10;

    @if $header-background-image {
        background: url($header-background-image) center center no-repeat;
        background-size: cover;

        @if $header-background-overlay == 'enabled' {
            &:before {
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                content: "";
                z-index: -1;
                opacity: 0.85;

                @include linear-gradient(40deg, $accent-color-1, $accent-color-2);
            }
        }
    }

    a {
        color: fadeout($header-text-color, 40%);

        &:hover {
            color: fadeout($header-text-color, 20%);
        }
    }

    h2 {
        font-weight: 300;
        line-height: $core-line-height;

        @include breakpoint(large-mobile-range) {
            font-size: 1.35rem;
        }

        em {
            font-weight: $font-weight-medium;
        }
    }
}

@media print {
	#g-header {
		background: #fff !important;
		color: #000 !important;
	}
}
